Method: YARD::I18n::Messages#[]
- Defined in:
- lib/yard/i18n/messages.rb
#[](id) ⇒ Message?
Returns a registered message for the given id
, or nil if no message for the ID is found.
27 28 29 |
# File 'lib/yard/i18n/messages.rb', line 27 def [](id) @messages[id] end |